﻿namespace Borg
{
    [Param("Tag", typeof(string), "")]
    [Param("LazyLoad", typeof(bool), true)]
    [SlotDefinition("Borg.Action")]
    [Param("Description", typeof(string), "")]
    [Param("MenuItem", typeof(string), "")]
    public interface IAction
    {
        void Do(object sender, ActionEventArgs args);
        bool IsEnabled(object sender, ActionEventArgs args);
    }
}

